/* 公共样式 */

.dl-button-common {
    display: inline-block;
    box-sizing: border-box;
    margin: 10px 10px;
    vertical-align: sub;
    position: relative;
    background-color: white;
    user-select: none;
    transition: all .2s ease-out;
    border-radius: 5px;
    height: 32px;
    min-width: 80px;
    padding: 0 14px;
    font-size: 14px;
    position: relative;
    outline: none;
}

.dl-button-common::-moz-focus-inner {
    border: 0;
}

.dl-button-common:focus {
    outline: 0;
}

.dl-button-common:active {
    outline: none!important;
}

.dl-button-common:hover {
    border-color: #73c0ff;
}


/* 点击样式 */

.dl-click::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 5px;
    border: none;
    transition: all .1s linear;
    background-color: hsl(207, 85%, 78%);
    z-index: -1;
    animation: scrollBack .3s linear forwards;
}


/* primary样式 */

.primary {
    background-color: #40a9ff;
    border: 1px solid #40a9ff;
    color: white;
}

.primary:hover {
    background-color: #73c0ff;
}


/* 默认按钮样式 */

.default {
    border: 1px solid grey;
    border-radius: 5px;
    padding: 0 14px;
    color: rgba(0, 0, 0, .65);
}

.default:hover {
    color: #40a9ff;
}


/* dashed样式 */

.dashed {
    border: 1px dashed grey;
    border-radius: 5px;
    padding: 0 14px;
    color: rgba(0, 0, 0, .65);
}


/* error样式 */

.error {
    background-color: #f00056;
    border: none;
    color: white;
}


/* 点击动画 */

@keyframes scrollBack {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}